.class public Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;
.super Lcom/esfile/screen/recorder/base/BaseActivity;
.source "MediaPreviewActivity.java"


# static fields
.field private static n:F


# instance fields
.field private a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

.field private b:Landroid/view/View;

.field private c:Landroidx/appcompat/widget/Toolbar;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/TextView;

.field private f:Ljava/lang/String;

.field private g:I

.field private h:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private i:I

.field private j:Landroid/widget/TextView;

.field private k:Ljava/lang/String;

.field private l:Landroid/view/View$OnClickListener;

.field private m:Landroid/view/View$OnClickListener;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;-><init>()V

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$j;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->l:Landroid/view/View$OnClickListener;

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$k;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$k;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->m:Landroid/view/View$OnClickListener;

    return-void
.end method

.method private A()V
    .locals 2

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    if-nez v0, :cond_0

    .line 2
    sget v0, Les/x4;->durec_option_layout:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v1, Les/x4;->durec_picture_share:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->l:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v1, Les/x4;->durec_picture_delete:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->m:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    return-void
.end method

.method private B()V
    .locals 3

    .line 1
    sget v0, Les/x4;->durec_preview_toolbar:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b:Landroid/view/View;

    .line 2
    sget v0, Les/x4;->toolbar:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/appcompat/widget/Toolbar;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c:Landroidx/appcompat/widget/Toolbar;

    .line 3
    sget v1, Les/u4;->durec_preview_toolbar_bg:I

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setBackgroundResource(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c:Landroidx/appcompat/widget/Toolbar;

    sget v1, Les/x4;->__picker_title:I

    .line 5
    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->e:Landroid/widget/TextView;

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c:Landroidx/appcompat/widget/Toolbar;

    sget v1, Les/x4;->__picker_back:I

    .line 7
    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 8
    new-instance v1, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$g;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 9
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c:Landroidx/appcompat/widget/Toolbar;

    sget v2, Les/x4;->__picker_info:I

    .line 11
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 12
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 13
    new-instance v1, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$h;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$h;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :cond_0
    const/4 v2, 0x1

    if-ne v0, v2, :cond_1

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c:Landroidx/appcompat/widget/Toolbar;

    sget v2, Les/x4;->__picker_selected:I

    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    .line 15
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    new-instance v1, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$i;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$i;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_1
    :goto_0
    return-void
.end method

.method private C()V
    .locals 7

    .line 1
    new-instance v0, Landroid/animation/AnimatorSet;

    invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b:Landroid/view/View;

    sget v2, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->n:F

    neg-float v2, v2

    const/4 v3, 0x0

    invoke-direct {p0, v1, v2, v3}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;

    move-result-object v1

    .line 3
    new-instance v2, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$c;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$c;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v1, v2}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 4
    iget v2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    const/4 v4, 0x0

    const/4 v5, 0x1

    if-nez v2, :cond_0

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v6, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->n:F

    invoke-direct {p0, v2, v6, v3}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;

    move-result-object v2

    .line 6
    new-instance v3, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$d;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$d;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v2, v3}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    const/4 v3, 0x2

    new-array v3, v3, [Landroid/animation/Animator;

    aput-object v1, v3, v4

    aput-object v2, v3, v5

    .line 7
    invoke-virtual {v0, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    goto :goto_0

    :cond_0
    new-array v2, v5, [Landroid/animation/Animator;

    aput-object v1, v2, v4

    .line 8
    invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 9
    :goto_0
    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;I)I
    .locals 0

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->i:I

    return p1
.end method

.method private a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;
    .locals 3

    .line 26
    sget-object v0, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;

    const/4 v1, 0x2

    new-array v1, v1, [F

    const/4 v2, 0x0

    aput p2, v1, v2

    const/4 p2, 0x1

    aput p3, v1, p2

    invoke-static {p1, v0, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object p1

    const-wide/16 p2, 0x12c

    .line 27
    invoke-virtual {p1, p2, p3}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    return-object p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->k:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Ljava/util/List;
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->y()Ljava/util/List;

    move-result-object p0

    return-object p0
.end method

.method private a(III)V
    .locals 2

    .line 22
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    if-nez v0, :cond_0

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v1, Les/x4;->durec_picture_share:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    .line 24
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v0, Les/x4;->durec_picture_delete:I

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V

    .line 25
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget p2, Les/x4;->durec_picture_edit:I

    invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, p3}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/util/List;I)V
    .locals 0

    .line 5
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(Ljava/util/List;I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;ZI)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(ZI)V

    return-void
.end method

.method private a(Ljava/util/List;I)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;I)V"
        }
    .end annotation

    .line 7
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->B()V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->A()V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    if-nez v0, :cond_0

    .line 10
    invoke-static {p1, p2}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->a(Ljava/util/List;I)Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    move-result-object p2

    iput-object p2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    .line 11
    new-instance v0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$e;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$e;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->a(Landroid/view/View$OnClickListener;)V

    .line 12
    iget-object p2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    new-instance v0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$f;

    invoke-direct {v0, p0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$f;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/util/List;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->a(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$e;)V

    .line 13
    invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;

    move-result-object p1

    .line 14
    invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;

    move-result-object p1

    sget p2, Les/x4;->container:I

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    .line 15
    invoke-virtual {p1, p2, v0}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;

    move-result-object p1

    .line 16
    invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I

    .line 17
    invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->executePendingTransactions()Z

    :cond_0
    return-void
.end method

.method private a(ZI)V
    .locals 1

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    if-nez v0, :cond_0

    return-void

    :cond_0
    if-eqz p1, :cond_1

    add-int/lit8 p2, p2, 0x1

    .line 19
    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_1
    const-string p2, ""

    .line 20
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 21
    :goto_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    invoke-virtual {p2, p1}, Landroid/widget/TextView;->setSelected(Z)V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    return p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 5

    .line 3
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    if-nez v2, :cond_0

    goto :goto_1

    :cond_0
    const/4 v2, 0x0

    const/4 v3, -0x1

    .line 4
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 5
    invoke-static {v4, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v3

    goto :goto_0

    :cond_2
    const/4 v1, 0x0

    .line 7
    :goto_0
    invoke-direct {p0, v1, v3}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(ZI)V

    :cond_3
    :goto_1
    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->j:Landroid/widget/TextView;

    return-object p0
.end method

.method private c(Ljava/lang/String;)Ljava/lang/String;
    .locals 7

    .line 3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 4
    invoke-static {p1}, Lcom/esfile/screen/recorder/utils/d;->b(Ljava/lang/String;)Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v1

    .line 5
    new-instance v2, Ljava/io/File;

    invoke-direct {v2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Ljava/io/File;->length()J

    move-result-wide v4

    invoke-static {v4, v5}, Lcom/esfile/screen/recorder/utils/s;->a(J)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "M"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 7
    new-instance v3, Ljava/util/LinkedHashMap;

    invoke-direct {v3}, Ljava/util/LinkedHashMap;-><init>()V

    .line 8
    sget v4, Les/z4;->durec_common_location:I

    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v3, v4, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 9
    sget p1, Les/z4;->durec_common_resolution:I

    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v6

    invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v6, "x"

    invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 10
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 11
    invoke-interface {v3, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 12
    sget p1, Les/z4;->durec_common_size:I

    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-interface {v3, p1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 13
    invoke-interface {v3}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 14
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ": "

    .line 15
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 16
    invoke-interface {v3, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\n"

    .line 17
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 18
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_0

    .line 19
    :cond_0
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I

    move-result p1

    const/4 v1, 0x2

    if-le p1, v1, :cond_1

    .line 20
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I

    move-result p1

    sub-int/2addr p1, v1

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    invoke-virtual {v0, p1, v1, v5}, Ljava/lang/StringBuilder;->replace(IILjava/lang/String;)Ljava/lang/StringBuilder;

    .line 21
    :cond_1
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    return-object p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->e(Ljava/lang/String;)V

    return-void
.end method

.method private d(Ljava/lang/String;)V
    .locals 2

    .line 3
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    const-string v0, ".gif"

    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result p1

    if-lez p1, :cond_0

    const/16 p1, 0x8

    .line 4
    invoke-direct {p0, v1, v1, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(III)V

    goto :goto_0

    .line 5
    :cond_0
    invoke-direct {p0, v1, v1, v1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(III)V

    :goto_0
    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b:Landroid/view/View;

    return-object p0
.end method

.method private e(Ljava/lang/String;)V
    .locals 3

    if-eqz p1, :cond_1

    .line 2
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    new-instance v0, Lcom/esfile/screen/recorder/ui/a$e;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/ui/a$e;-><init>(Landroid/content/Context;)V

    .line 4
    sget v1, Les/z4;->durec_image_info:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a$e;->d(I)Lcom/esfile/screen/recorder/ui/a$e;

    .line 5
    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/high16 v2, 0x41500000    # 13.0f

    .line 6
    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextSize(F)V

    .line 7
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 p1, 0x3

    .line 8
    invoke-virtual {v1, p1}, Landroid/widget/TextView;->setGravity(I)V

    .line 9
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a$e;->a(Landroid/view/View;)Lcom/esfile/screen/recorder/ui/a$e;

    const/4 p1, 0x1

    .line 10
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a$e;->a(Z)Lcom/esfile/screen/recorder/ui/a$e;

    .line 11
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a$e;->b(Z)Lcom/esfile/screen/recorder/ui/a$e;

    .line 12
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a$e;->b()Lcom/esfile/screen/recorder/ui/a;

    return-void

    .line 13
    :cond_1
    :goto_0
    sget p1, Les/z4;->durec_image_info_error:I

    invoke-static {p0, p1}, Les/ec;->a(Landroid/content/Context;I)V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Landroid/widget/LinearLayout;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    return-object p0
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->i:I

    return p0
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->k:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)Ljava/lang/String;
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->x()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private x()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->f()I

    move-result v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->g()Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->g()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_0

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->g()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    return-object v0

    :cond_0
    const-string v0, ""

    return-object v0
.end method

.method private y()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Landroid/content/Intent;->getType()Ljava/lang/String;

    move-result-object v1

    .line 3
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, "image"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 4
    invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 5
    invoke-static {p0, v0}, Les/rc;->b(Landroid/content/Context;Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 6
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 7
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-object v1

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method private z()V
    .locals 7

    .line 1
    new-instance v0, Landroid/animation/AnimatorSet;

    invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b:Landroid/view/View;

    sget v2, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->n:F

    neg-float v2, v2

    const/4 v3, 0x0

    invoke-direct {p0, v1, v3, v2}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;

    move-result-object v1

    .line 3
    new-instance v2, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$l;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$l;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v1, v2}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 4
    iget v2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    const/4 v4, 0x0

    const/4 v5, 0x1

    if-nez v2, :cond_0

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->d:Landroid/widget/LinearLayout;

    sget v6, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->n:F

    invoke-direct {p0, v2, v3, v6}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;

    move-result-object v2

    .line 6
    new-instance v3, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$b;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$b;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;)V

    invoke-virtual {v2, v3}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    const/4 v3, 0x2

    new-array v3, v3, [Landroid/animation/Animator;

    aput-object v1, v3, v4

    aput-object v2, v3, v5

    .line 7
    invoke-virtual {v0, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    goto :goto_0

    :cond_0
    new-array v2, v5, [Landroid/animation/Animator;

    aput-object v1, v2, v4

    .line 8
    invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 9
    :goto_0
    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    return-void
.end method


# virtual methods
.method public finish()V
    .locals 3

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->h:Ljava/util/ArrayList;

    const-string v2, "pathList"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putStringArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;

    const/4 v1, -0x1

    .line 4
    invoke-virtual {p0, v1, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    .line 5
    :cond_0
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x400

    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    .line 2
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "preview_path_list_key"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 5
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 6
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/picker/adapter/b;->b(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 7
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 8
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/picker/adapter/b;->a(Ljava/lang/String;)V

    .line 9
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget v1, Les/v4;->durec_main_tool_bar_height:I

    .line 10
    invoke-virtual {p1, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result p1

    int-to-float p1, p1

    sput p1, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->n:F

    .line 11
    sget p1, Les/y4;->durec_picture_preview:I

    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->setContentView(I)V

    .line 12
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const/4 v1, 0x0

    const-string v2, "current_item"

    invoke-virtual {p1, v2, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    .line 13
    new-instance v2, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$a;

    invoke-direct {v2, p0, v0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity$a;-><init>(Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;Ljava/util/ArrayList;I)V

    invoke-static {v2}, Les/xc;->a(Ljava/lang/Runnable;)V

    .line 14
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "from"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->f:Ljava/lang/String;

    .line 15
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "mode"

    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->g:I

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->a(Landroid/view/View$OnClickListener;)V

    .line 3
    :cond_0
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onSaveInstanceState(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onSaveInstanceState(Landroid/os/Bundle;)V

    if-eqz p1, :cond_0

    const-string v0, "android:support:fragments"

    .line 2
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method protected onStart()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onStart()V

    return-void
.end method

.method protected onStop()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onStop()V

    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "\u56fe\u7247\u9884\u89c8\u9875\u9762"

    return-object v0
.end method

.method public v()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->b:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->z()V

    goto :goto_0

    .line 3
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->C()V

    :goto_0
    return-void
.end method

.method public w()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->x()Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    :try_start_0
    const-string v1, "/"

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    const-string v2, "."

    .line 4
    invoke-virtual {v0, v2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v2

    .line 5
    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPreviewActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
    :try_end_0
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 7
    invoke-virtual {v0}, Ljava/lang/IndexOutOfBoundsException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method
